package com.neusoft.boot32.dibuy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @program: springboot32
 * @description:
 * @author: Jingdi.Duan ,duanjingdi@msn.com
 * @create: 2024-07-10 22:30
 **/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_author")
public class Author  {
    @TableId( value = "id" , type =  IdType.AUTO )
    private Integer id;
    @TableField("name")
    private String name;
}
